package com.woniuxy.trade.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.common.model.dto.trade.BorrowRecordDTO;
import com.woniuxy.trade.entity.BorrowRecord;

/**
 * @author yellow Docter
 * @date 2023 -07-31
 * @desc
 */
public interface IBorrowRecordService extends IService<BorrowRecord> {

    void borrow(BorrowRecordDTO borrowRecordDTO);

    String changeStatus(Long borrowId, Integer status);

}
